{% extends "djips/common/ajax/message.html" %}
{% load i18n %}

{% block head %}
{% blocktrans with color.name as color_name%}Are you sure you want to delete category '{{color_name}}'?{% endblocktrans %}
{% endblock %}
{% block body %}
{% if related_objects %}
{% trans "This category is used by those objects:" %}</p>
<ul>
  {% for class_name, items in related_objects.items %}
  <li>{{class_name}}:
    <ul>
      {% for item in items %}
      <li>{{item}}</li>
      {% endfor %}
    </ul>
  </li>
  {% endfor %}
</ul>
{% endif %}

<input type="hidden" id="deleted_color_id" value="{{color.id}}" />
{% endblock %}
